package com.gopay.common.domain.cbrmb.internationalcard.masapay;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

/**
 * @ClassName: UploadExpressDTO
 * @Description: 乾汇快递单上传接口快递单信息类
 * @author lailingyu
 * @date 2018年2月8日 下午4:18:13 www.gopay.com.cn Inc.All rights reserved.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "uploadExpressDTO", propOrder = {
    "etaDate",
    "expressCompany",
    "expressDate",
    "expressNo",
    "expressSignMsg",
    "expressUrl",
    "merchantOrderNo",
    "uploadDate"
})
public class MasaPayUploadExpressDTO implements Serializable {
    /**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 877726858219546752L;

	protected String etaDate;
    protected String expressCompany;
    protected String expressDate;
    protected String expressNo;
    protected String expressSignMsg;
    protected String expressUrl;
    protected String merchantOrderNo;
    protected String uploadDate;

    public String getEtaDate() {
        return etaDate;
    }

    public void setEtaDate(String value) {
        this.etaDate = value;
    }

    public String getExpressCompany() {
        return expressCompany;
    }

    public void setExpressCompany(String value) {
        this.expressCompany = value;
    }

    public String getExpressDate() {
        return expressDate;
    }

    public void setExpressDate(String value) {
        this.expressDate = value;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String value) {
        this.expressNo = value;
    }

    public String getExpressSignMsg() {
        return expressSignMsg;
    }

    public void setExpressSignMsg(String value) {
        this.expressSignMsg = value;
    }

    public String getExpressUrl() {
        return expressUrl;
    }

    public void setExpressUrl(String value) {
        this.expressUrl = value;
    }

    public String getMerchantOrderNo() {
        return merchantOrderNo;
    }

    public void setMerchantOrderNo(String value) {
        this.merchantOrderNo = value;
    }

    public String getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(String value) {
        this.uploadDate = value;
    }

	@Override
	public String toString() {
		return "MasaPayUploadExpressDTO [etaDate=" + etaDate + ", expressCompany=" + expressCompany + ", expressDate="
				+ expressDate + ", expressNo=" + expressNo + ", expressSignMsg=" + expressSignMsg + ", expressUrl="
				+ expressUrl + ", merchantOrderNo=" + merchantOrderNo + ", uploadDate=" + uploadDate + "]";
	}

	public String signatureData(String key) {
		return "merchantOrderNo=" + merchantOrderNo + "&expressDate=" + expressDate + "&etaDate=" + etaDate + "&expressNo=" + expressNo
				+ "&expressCompany=" + expressCompany + "&expressUrl=" + expressUrl + "&key=" + key;
	}

}